package com.wx.dao;

import com.wx.domain.Order;

import java.util.List;

public interface OrderDao {
    int save(int patientId, String doctorId, String dateTime);

    int getNumberByDoctorIdAndDateTime(String doctorId, String dateTime);

    List<Order> getOrderListByPatientId(String patientId);

    List<Order> getOrderListByDoctorId(String doctorId);

    List<Order> getOrderListByDoctorIdAndDateTime(String doctorId, String dateTime);

    Order getOrderListByPatientIdAndDateTime(int patientId, String dateTime);

    void updateHandle(int id,String orderId);
}
